package com.yq.ylmall.model.user;

import com.yq.ylmall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 会员表
 * </p>
 *
 * @author cherry
 * @since 2024-06-03
 */
@Data
@ApiModel(value="UserInfo对象", description="会员表")
public class UserInfo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "微信open id")
    private String openId;

    @ApiModelProperty(value = "微信开放平台unionID")
    private String unionId;

    @ApiModelProperty(value = "最后一次登录ip")
    private String lastLoginIp;

    @ApiModelProperty(value = "最后一次登录时间")
    private Date lastLoginTime;

    @ApiModelProperty(value = "状态：1为正常，0为禁止")
    private Integer status;

}
